package cn.glc.daily.life.model.dto.user.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 更新用户任务状态
 *
 * @author simon
 * @date 2021/5/11 17:01
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@ApiModel(value = "更新用户任务状态", description = "")
public class UserTaskUpdateStatusDto {

    @ApiModelProperty(value = "业务id")
    @NotNull(message = "业务id不能为空")
    private Long id;
    @ApiModelProperty(value = "任务状态 ture 完成 / false 未完成")
    @NotNull(message = "任务状态不能为空")
    private Boolean isDone;

}
